QT       += core gui charts

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ElectricityTradingSystem
TEMPLATE = app

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    logindialog.cpp \
    marketwindow.cpp \
    analysiswindow.cpp \
    bidwindow.cpp

HEADERS += \
    mainwindow.h \
    logindialog.h \
    marketwindow.h \
    analysiswindow.h \
    bidwindow.h

FORMS += \
    mainwindow.ui \
    logindialog.ui \
    marketwindow.ui \
    analysiswindow.ui \
    bidwindow.ui

# 确保中文显示正常
QMAKE_CXXFLAGS += -utf-8
